/*
 * Copyright 2010 bedatadriven
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

/**
 * JacobGen generated file --- do not edit
 *
 * (http://www.bigatti.it/projects/jacobgen)
 */
package com.bedatadriven.mso.core;

import com.google.gwt.core.client.JavaScriptObject;

/** Wrapper for Office.Signature*/
public class Signature extends JavaScriptObject {

	protected Signature() { }
	public native final Object getApplication()/*-{
		return this.Application;
	}-*/;

	public native final int getCreator()/*-{
		return this.Creator;
	}-*/;

	public native final String getSigner()/*-{
		return this.Signer;
	}-*/;

	public native final String getIssuer()/*-{
		return this.Issuer;
	}-*/;

	public native final JavaScriptObject getExpireDate()/*-{
		return this.ExpireDate;
	}-*/;

	public native final boolean getIsValid()/*-{
		return this.IsValid;
	}-*/;

	public native final boolean getAttachCertificate()/*-{
		return this.AttachCertificate;
	}-*/;

	public native final void setAttachCertificate(boolean value)/*-{
		this.AttachCertificate = value;
	}-*/;

	public native final void delete()/*-{
		this.Delete( );
	}-*/;

	public native final Object getParent()/*-{
		return this.Parent;
	}-*/;

	public native final boolean getIsCertificateExpired()/*-{
		return this.IsCertificateExpired;
	}-*/;

	public native final boolean getIsCertificateRevoked()/*-{
		return this.IsCertificateRevoked;
	}-*/;

	public native final JavaScriptObject getSignDate()/*-{
		return this.SignDate;
	}-*/;

	public native final boolean getIsSigned()/*-{
		return this.IsSigned;
	}-*/;

	public native final void sign( Object varSigImg,  Object varDelSuggSigner,  Object varDelSuggSignerLine2,  Object varDelSuggSignerEmail)/*-{
		this.Sign( varSigImg, varDelSuggSigner, varDelSuggSignerLine2, varDelSuggSignerEmail);
	}-*/;

	public native final SignatureInfo getDetails()/*-{
		return this.Details;
	}-*/;

	public native final void showDetails()/*-{
		this.ShowDetails( );
	}-*/;

	public native final boolean getCanSetup()/*-{
		return this.CanSetup;
	}-*/;

	public native final SignatureSetup getSetup()/*-{
		return this.Setup;
	}-*/;

	public native final boolean getIsSignatureLine()/*-{
		return this.IsSignatureLine;
	}-*/;

	public native final Object getSignatureLineShape()/*-{
		return this.SignatureLineShape;
	}-*/;

	public native final int getSortHint()/*-{
		return this.SortHint;
	}-*/;

}
